-
Notifications
You must be signed in to change notification settings - Fork 8
Migrate llama demo #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
set -eu | ||
|
||
BASEDIR=$(dirname "$0") | ||
pushd "$BASEDIR"/../../../../ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to update this a bit.
|
||
set -eu | ||
|
||
if [ -z "$QNN_SDK_ROOT" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this file probably
llm/android/LlamaDemo/setup.sh
Outdated
# This source code is licensed under the BSD-style license found in the | ||
# LICENSE file in the root directory of this source tree. | ||
|
||
set -eu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this file probably
|
||
oncall("executorch") | ||
|
||
non_fbcode_target(_kind = fb_android_resource, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this file probably?
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
package com.example.executorchllamademo; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update package name a bit?
debugImplementation("androidx.compose.ui:ui-test-manifest") | ||
} | ||
|
||
tasks.register("setup") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove these?
implementation("androidx.activity:activity:1.9.0") | ||
implementation("org.json:json:20250107") | ||
if (!qnnVersion.isNullOrEmpty()) { | ||
implementation("com.qualcomm.qti:qnn-runtime:$qnnVersion") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably not needed
I will remove some unused stuff in following up |
cp -r ../executorch/examples/demo-apps/android/LlamaDemo llm/android
Test:
./gradlew build